Skip to content

fix(agent): restrict channel context to thread channels only#268

Merged
saada merged 3 commits into
masterfrom
fix-channel-history-bug
Jun 7, 2026
Merged

fix(agent): restrict channel context to thread channels only#268
saada merged 3 commits into
masterfrom
fix-channel-history-bug

Conversation

@yetibot-mps

@yetibot-mps yetibot-mps Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Only fetch Discord channel messages as context when the command is triggered in a thread (types 10, 11, 12). If triggered in a normal text channel, do not fetch context, avoiding main channel history in the prompt.

@yetibot-mps yetibot-mps Bot requested a review from devth as a code owner June 7, 2026 18:42
@saada saada enabled auto-merge (squash) June 7, 2026 18:54
@saada saada merged commit a3d9c4d into master Jun 7, 2026
2 checks passed
@saada saada deleted the fix-channel-history-bug branch June 7, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant